using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AudoManager : MonoBehaviour
{

    public static AudoManager instance {  get; private set; }

    public AudioSource audioS;

    // Start is called before the first frame update
    void Start()
    {
        instance = this;
        audioS = GetComponent<AudioSource>();
    }

   public void AudioPlay(AudioClip clip)
    {

        audioS.PlayOneShot(clip);

    }
}
